import { RootClass } from "./root-class";

export class B<T> {
  lst: T[] = [];
  add(data: T) {
    console.log("----lst add ok---len:" + this.lst.length);
    this.lst.push(data);
  }
  len(): number {
    return this.lst.length;
  }
}
